package Sistema;

import java.util.Date;

/**
 * @author Alumno
 * @version 1.0
 * @created 31-may-2013 11:25:23 a.m.
 */
public class Persona {

	public Date fecnac;
	public char nombres;
	public char sexo;

	public Persona(){

	}

	public void finalize() throws Throwable {

	}
	public double calcularEdad(){
            Date hoy=new Date();
            long hhoy=hoy.getTime();
            long ffnac=fecnac.getTime();
            long diff=hhoy-ffnac;
	return (diff/86400000)/365;
	}
}//end Persona